home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 2.iso / STUTTGART / COMM / INTERNET / TELNET / RLOGIND / !RloginD / telnet / cproto_h next >
Text File  |  1993-09-02  |  522b  |  31 lines

  1. /* > cproto.h
  2.  * (C) Andrew Brooks 1992
  3.  */
  4.  
  5. #ifndef __cproto_h
  6. #define __cproto_h
  7.  
  8. /*
  9.  * Allow function prototypes to specify parameters if using ANSI C
  10.  * Declare functions as (for example):
  11.  * int hello P_((int foo, int bar));
  12.  * __STDC__ should be defined automatically by ANSI standard compilers
  13.  */
  14.  
  15. #ifdef __STDC__
  16. #define P_(X) X
  17. #else
  18. #define P_(X) ()
  19. #endif
  20.  
  21.  
  22. /*
  23.  * Define private and public functions and variables
  24.  * C defaults to public :-(
  25.  */
  26.  
  27. #define private static
  28. #define public
  29.  
  30. #endif /* __cproto_h */
  31.